<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class SendOrder extends Model {

	protected $table = 'sendorders';

	protected $fillable = [
		'log_id', 'order_id', 'map_id', 'user_id', 'contacts', 'phone', 'products', 'receipt_area', 'receipt_address', 'status', 'ship_num', 'ship_company', 'decimal',
	];

	public function sendLog() {
		return $this->belongsTo(SendLog::class, 'log_id');
	}
}
